//
//  CMDBQNUploadParam.swift
//  CMDB
//
//  Created by 王磊 on 17/4/6.
//  Copyright © 2017年 CMDB. All rights reserved.
//

import UIKit

class CMDBQNUploadParam: NSObject {
    
    var qnToken: String = "" // 七牛token
    
    var image: UIImage?
    
    var imageName: String = "Header" // 不设置  就用默认的header
    
    var filePath: String {
        
        guard let image = image else {
            return ""
        }
        return UIImage.qn_GetImagePath(image, imageName: imageName)
    }
    
    var uToken: String {
        
        return "209eac42feaf468fa79cf15a5f84bf13"
//        return CMDBApplicationManager.getInstance.token
    }// 用户token
    
    var ms_TimeStamp: String {
        
        return "\(NSDate.timeStamp_ms())"
    }// 毫秒时间戳
    
    // 是否拼接字符串 完整的url
    var qn_Flag: Bool = true
}
